//登录请求，请求体携带data参数类型
//data={username:admin,password:111111}
export interface loginData {
    username: string,
    password: string,
}


//登录请求服务器返回的数据类型(token:xxx)
export interface loginResponseData {
    token: string,
}

//获取用户信息数据
export interface userInfoResponseData {
    "routes": string[],
    "buttons": string[],
    "roles": string[],
    "name": string,
    "avatar": string
}